import service from './service';

export const getSeller = (params) => service({ url: './static/json/seller.json', method: 'get', params })
export const getRank = (params) => service({ url: './static/json/rank.json', method: 'get', params })
export const getTrend = (params) => service({ url: './static/json/trend.json', method: 'get', params })
export const getChMap = (params) => service({ url: './static/map/china.json', method: 'get', params })
export const getChChildrenMap = (name) => service({ url: `./static/map/province/${name}.json`, method: 'get' })
export const getchoiceMap = (params) => service({ url: './static/json/map.json', method: 'get', params })
export const getHotproduct = (params) => service({ url: './static/json/hotproduct.json', method: 'get', params })
export const getStock = (params) => service({ url: './static/json/stock.json', method: 'get', params })
